package com.my.aslife.module.common;

/**
 * @author mayuan
 * @description TODO
 */
public class OrderIdThreadLocal {

    private static final ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void save(String orderId){
        threadLocal.set(orderId);
    }

    public static String get(){
        return threadLocal.get();
    }

    public static void remove(){
        threadLocal.remove();
    }
}
